import request from '@/utils/request';
//设备
export const getEquipmentList = (data) => request.post("/bodyforging/equipment/getAllEquipmentList", data)
// //学校
// export const selectSchool = (data) => request.post("/homework/zhty/task/school-pulldown", data)
//新增
export const addEquipment = (data) => request.post("/bodyforging/equipment/addOrUpdateEquipment", data)
// //编辑
// export const updateEquipment = (data) => request.post("/bodyforging/equipment/updateEquipment", data)
//删除
export const deleteEquipment = (data) => request.post("/bodyforging/equipment/deleteAllEquipment", data)

// 获取学校空间列表
export const getSchoolKongjian = (data) => request.post("/bodyforging/scenario/space-list",data);

// 设备类型下拉狂
export const postSchoolKong = (data) => request.post("/bodyforging/communal/equipment",data);
// 运动项目下拉框
export const postSchoolKongst = (data) => request.post("/bodyforging/communal/sportcode",data);
// 学校
export const postselectSchool = (data) => request.post("/bodyforging/communal/schoolInfo",data);
// 空间管理
export const postselectdree = (data) => request.post("/bodyforging/communal/scenario",data);
